package com.hhh.springai_test.model.dto.comment;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
public class UpdateCommentDTO {
    
    /**
     * 评论id
     */
    @NotNull(message = "评论id不能为空")
    private Long id;

    /**
     * 评论内容
     */
    @NotBlank(message = "评论内容不能为空")
    private String content;
} 